package com.example.demo.service;

import com.example.demo.entity.Course;
import com.example.demo.entity.Room;
import com.example.demo.entity.User;

import java.util.HashMap;
import java.util.List;

public interface CourseService {
    HashMap<String,String> validateCourse(Course course, User teacher);

    boolean validateCourseNoCheckSame(HashMap<String,String> resMap,Course cCourse,Course course);

    void copyCourse(Course cCourse, Course course,User teacher);

    HashMap<String,String> roomAvailable(boolean roomExists, String ctime, String croom);

    HashMap<String,String> teacherAvailable(String ctime, User teacher);

    HashMap<String,String> schoolMajorExist(List<String> snameList, List<String> mnameList, String csname, String cmname);

    HashMap<String,String> capacityOk(boolean roomExists, Room room1, Integer capacity);
}
